/*
 * Gedigarr - Falling block game.
 * Copyright (C) 2010  BoredCorp
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
package gedigarr.objects;

import java.awt.Color;

/**
 *
 * @author JC
 */
public class TetroZ extends Tetromino {
  
  public TetroZ() {
    this.state = 0;
    Color colour = Color.RED;
    int[] xPad = new int[] {0,0};
    int[] yPad = new int[] {0,0};
    boolean x = true;
    boolean _ = false;
    boolean[][][] bGrid = new boolean[2][][];
    bGrid[0] = new boolean[][] { { _,x },
                                 { x,x },
                                 { x,_ } };
    bGrid[1] = new boolean[][] { { x,x,_ },
                                 { _,x,x } };
    
    init( bGrid, xPad, yPad, colour );
  }
}
